﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OsirisTester.MVVMInspector
{
    public class SampleVMLocator
    {
        public ViewModel1 VM1
        {
            get
            {
                return ViewModel1.Instance;
            }
        }
    }

    public class ViewModel1
    {
        private static ViewModel1 _instance = new ViewModel1();
        public static ViewModel1 Instance
        {
            get
            {
                return _instance;
            }
        }

        private ViewModel1()
        {
            Model = new Model1();
        }

        public Model1 Model { get; set; }
    }

    public class Model1
    {
        public string GetName()
        {
            return "Richard";
        }

        private string modelState = "Ready!";

        public string ModelState
        {
            get { return modelState; }
            set { modelState = value; }
        }

    }
}
